package com.wangshouyu.mp.base.enums;

/**
 * @author 王守钰
 * @date 2020年12月07日 11:37
 * @description 事件类型
 */
public enum EventType {

    /**
     * 事件类型
     */
    SUBSCRIBE("subscribe","订阅"),

    UNSUBSCRIBE("unsubscribe","取消订阅"),

    SCAN("SCAN","扫码"),

    LOCATION("LOCATION","上报位置"),

    CLICK("CLICK","自定义菜单"),

    VIEW("VIEW","跳转链接"),

    TEMPLATE_SEND_JOB_FINISH("TEMPLATESENDJOBFINISH","模板消息任务发送完成"),
    ;

    private String key;

    private String description;

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    EventType(String key, String description) {
        this.key = key;
        this.description = description;
    }

}
